// samsting : this file is auto create.

#include "Cdn/2014-11-11/DescribeUserDomainsResponse.h"

namespace aliyun { namespace Cdn {

DescribeUserDomainsResponse::DescribeUserDomainsResponse() {
}

const string& DescribeUserDomainsResponse::PageData::GetDomainName(void) const {
  return DomainName_;
}

const string& DescribeUserDomainsResponse::PageData::GetCname(void) const {
  return Cname_;
}

const string& DescribeUserDomainsResponse::PageData::GetCdnType(void) const {
  return CdnType_;
}

const string& DescribeUserDomainsResponse::PageData::GetDomainStatus(void) const {
  return DomainStatus_;
}

const string& DescribeUserDomainsResponse::PageData::GetGmtCreated(void) const {
  return GmtCreated_;
}

const string& DescribeUserDomainsResponse::PageData::GetGmtModified(void) const {
  return GmtModified_;
}

const std::vector<DescribeUserDomainsResponse::PageData>& DescribeUserDomainsResponse::GetDomains(void) const {
  return Domains_;
}

int64 DescribeUserDomainsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int64 DescribeUserDomainsResponse::GetPageSize(void) const {
  return PageSize_;
}

int64 DescribeUserDomainsResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* DescribeUserDomainsResponse::BaseKey(void) {
  return "DescribeUserDomainsResponse";
}

void DescribeUserDomainsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Domains__length = 0;
  UnmarshallerInt(Domains__length, response_map, "DescribeUserDomainsResponse.Domains.Length");
  if(Domains__length >= 0) {
    Domains_.resize(Domains__length);
    for(int i1 = 0; i1 < Domains__length; i1++) {
      UnmarshallerString(Domains_[i1].DomainName_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].DomainName");
      UnmarshallerString(Domains_[i1].Cname_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].Cname");
      UnmarshallerString(Domains_[i1].CdnType_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].CdnType");
      UnmarshallerString(Domains_[i1].DomainStatus_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].DomainStatus");
      UnmarshallerString(Domains_[i1].GmtCreated_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].GmtCreated");
      UnmarshallerString(Domains_[i1].GmtModified_, response_map, "DescribeUserDomainsResponse.Domains["+string_ValueOfInt(i1)+"].GmtModified");
    } // for(int i1 = 0; i1 < Domains__length; i1++) {
  } // if(Domains__length >= 0) {

  UnmarshallerInt64(PageNumber_, response_map, "DescribeUserDomainsResponse.PageNumber");
  UnmarshallerInt64(PageSize_, response_map, "DescribeUserDomainsResponse.PageSize");
  UnmarshallerInt64(TotalCount_, response_map, "DescribeUserDomainsResponse.TotalCount");
}


} } // namespace aliyun { namespace Cdn {

// end of file 
